You are here: Trading System Programming > Reference > Classes > Order > Order Methods > setSymbol

setSymbol

The setSymbol method sets order's symbol.

Syntax

setSymbol(symbol);

Parameters

symbol

Underlying symbol string that the order represents.

Example

See placeOrder() in Account class for an example on how to use setSymbol() method.

 


Copyright © 2006-2009 ActiveTick LLC